﻿<UserControl x:Class="ViewIndicateur"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="5"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>


        <UniformGrid Columns="4" >
            <Button IsEnabled="False"  Margin="5" Padding="5" Content="Nouvel Indicateur" FontSize="16" Background="White" Foreground="Green"  Focusable="False" Click="Button_Click_3"  />
            <Button IsEnabled="False"  Margin="5" Padding="5" Content="Nouveau KPI" FontSize="16" Background="White" Foreground="Red"  Focusable="False"  />
            <Button IsEnabled="False"  Foreground="Red"   Margin="5" Padding="5" Content="Nouvelle Requete" FontSize="16" Background="White" Focusable="False" Click="Button_Click_1"  />
            <Button IsEnabled="False"  Margin="5" Padding="5" Content="Nouvelle Variable" FontSize="16" Background="White" Foreground="Green"  Focusable="False" Click="Button_Click_2"  />

        </UniformGrid>
            <GridSplitter HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Row="1" />
        <DataGrid  Grid.Row="2" CanUserAddRows="False" ColumnWidth="*" RowHeight="30" AlternatingRowBackground="Violet" ItemsSource="{Binding IndicateurList}">
           
        </DataGrid>
    </Grid>
</UserControl>
